[INFO] cloning repository https://github.com/periheli/the-rust-programming-language
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/periheli/the-rust-programming-language" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperiheli%2Fthe-rust-programming-language", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperiheli%2Fthe-rust-programming-language'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5fa74742278d3515e60c1887647df9bf2ea693ca
[INFO] fixing periheli/the-rust-programming-language against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperiheli%2Fthe-rust-programming-language" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/periheli/the-rust-programming-language
[INFO] finished tweaking git repo https://github.com/periheli/the-rust-programming-language
[INFO] tweaked toml for git repo https://github.com/periheli/the-rust-programming-language written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/periheli/the-rust-programming-language on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/periheli/the-rust-programming-language already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5ca1cf5fabec32ae3a9a9508603071ac290167ddeb14d25038eb60904cb3dfa6
[INFO] running `Command { std: "docker" "start" "5ca1cf5fabec32ae3a9a9508603071ac290167ddeb14d25038eb60904cb3dfa6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5ca1cf5fabec32ae3a9a9508603071ac290167ddeb14d25038eb60904cb3dfa6" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5ca1cf5fabec32ae3a9a9508603071ac290167ddeb14d25038eb60904cb3dfa6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5ca1cf5fabec32ae3a9a9508603071ac290167ddeb14d25038eb60904cb3dfa6" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking minigrep v0.1.0 (/opt/rustwide/workdir/minigrep)
[INFO] [stderr]     Checking playground v0.1.0 (/opt/rustwide/workdir/playground)
[INFO] [stderr]     Checking fearless_concurrency v0.1.0 (/opt/rustwide/workdir/fearless_concurrency)
[INFO] [stderr]     Checking loops v0.1.0 (/opt/rustwide/workdir/loops)
[INFO] [stderr]     Checking branches v0.1.0 (/opt/rustwide/workdir/branches)
[INFO] [stderr]     Checking rectangles v0.1.0 (/opt/rustwide/workdir/rectangles)
[INFO] [stderr]     Checking error_handling v0.1.0 (/opt/rustwide/workdir/error_handling)
[INFO] [stderr]     Checking enums v0.1.0 (/opt/rustwide/workdir/enums)
[INFO] [stderr]     Checking restaurant v0.1.0 (/opt/rustwide/workdir/restaurant)
[INFO] [stdout] error[E0382]: borrow of partially moved value: `x`
[INFO] [stdout]   --> playground/src/main.rs:13:22
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Either::Right(s) => s.len(),
[INFO] [stdout]    |                       - value partially moved here
[INFO] [stdout] ...
[INFO] [stdout] 13 |     println!("{:?}", x);
[INFO] [stdout]    |                      ^ value borrowed here after partial move
[INFO] [stdout]    |
[INFO] [stdout]    = note: partial move occurs because value has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] help: borrow this binding in the pattern to avoid moving the value
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Either::Right(ref s) => s.len(),
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*v` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> playground/src/main.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let n = &mut v[i];
[INFO] [stdout]    |                  - mutable borrow occurs here
[INFO] [stdout] 18 |     *n = v[i - 1];
[INFO] [stdout]    |     -----^-------
[INFO] [stdout]    |     |    |
[INFO] [stdout]    |     |    immutable borrow occurs here
[INFO] [stdout]    |     mutable borrow later used here
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `.split_at_mut(position)` to obtain two mutable non-overlapping sub-slices
[INFO] [stdout] help: try adding a local storing this...
[INFO] [stdout]   --> playground/src/main.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 |     *n = v[i - 1];
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] help: ...and then using that local here
[INFO] [stdout]   --> playground/src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     *n = v[i - 1];
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `s` does not live long enough
[INFO] [stdout]   --> playground/src/main.rs:28:22
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let s = String::from("Hello world");
[INFO] [stdout]    |         - binding `s` declared here
[INFO] [stdout] 28 |     let a = Arc::new(&s);
[INFO] [stdout]    |                      ^^ borrowed value does not live long enough
[INFO] [stdout] ...
[INFO] [stdout] 31 |     let t = thread::spawn(move || a2.len());
[INFO] [stdout]    |             ------------------------------- argument requires that `s` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 34 | }
[INFO] [stdout]    | - `s` dropped here while still borrowed
[INFO] [stdout]    |
[INFO] [stdout] note: requirement that the value outlives `'static` introduced here
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/thread/functions.rs:128:14
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0502, E0597.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `*self` which is behind a mutable reference
[INFO] [stdout]   --> rectangles/src/main.rs:97:17
[INFO] [stdout]    |
[INFO] [stdout] 97 |         *self = self.max(other);
[INFO] [stdout]    |                 ^^^^ ---------- `*self` moved due to this method call
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 move occurs because `*self` has type `Rectangle`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: `Rectangle::max` takes ownership of the receiver `self`, which moves `*self`
[INFO] [stdout]   --> rectangles/src/main.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn max(self, other: Self) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] note: if `Rectangle` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> rectangles/src/main.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout]  2 | struct Rectangle {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 97 |         *self = self.max(other);
[INFO] [stdout]    |                 ---- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0507`.
[INFO] [stdout] 
[INFO] [stderr]     Checking variables v0.1.0 (/opt/rustwide/workdir/variables)
[INFO] [stdout] error[E0507]: cannot move out of `*self` which is behind a mutable reference
[INFO] [stdout]   --> rectangles/src/main.rs:97:17
[INFO] [stdout]    |
[INFO] [stdout] 97 |         *self = self.max(other);
[INFO] [stdout]    |                 ^^^^ ---------- `*self` moved due to this method call
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 move occurs because `*self` has type `Rectangle`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: `Rectangle::max` takes ownership of the receiver `self`, which moves `*self`
[INFO] [stdout]   --> rectangles/src/main.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn max(self, other: Self) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] note: if `Rectangle` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> rectangles/src/main.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout]  2 | struct Rectangle {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 97 |         *self = self.max(other);
[INFO] [stdout]    |                 ---- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0507`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `greeting_file`
[INFO] [stdout]  --> error_handling/src/main.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let greeting_file = match greeting_file_result {
[INFO] [stdout]   |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `greeting_file`
[INFO] [stdout]   --> error_handling/src/main.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let greeting_file = File::open("hello.txt").unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `greeting_file`
[INFO] [stdout]   --> error_handling/src/main.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let greeting_file =
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rectangles` (bin "rectangles" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `home`
[INFO] [stdout]   --> error_handling/src/main.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let home: IpAddr = "127.0.0.1"
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_home`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_username_from_file` is never used
[INFO] [stdout]   --> error_handling/src/main.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn read_username_from_file() -> Result<String, io::Error> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_username_from_file_2` is never used
[INFO] [stdout]   --> error_handling/src/main.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn read_username_from_file_2() -> Result<String, io::Error> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_username_from_file_3` is never used
[INFO] [stdout]   --> error_handling/src/main.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn read_username_from_file_3() -> Result<String, io::Error> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `playground` (bin "playground" test) due to 3 previous errors
[INFO] [stderr] error: could not compile `rectangles` (bin "rectangles") due to 1 previous error
[INFO] [stdout] warning: function `panic_or_not` is never used
[INFO] [stdout]   --> error_handling/src/main.rs:42:4
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn panic_or_not() {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]   --> enums/src/main.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut count = 0;
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_count` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `count` is never read
[INFO] [stdout]   --> enums/src/main.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         count += 1;
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Penny`, `Nickel`, and `Dime` are never constructed
[INFO] [stdout]   --> enums/src/main.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | enum Coin {
[INFO] [stdout]    |      ---- variants in this enum
[INFO] [stdout]  8 |     Penny,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]  9 |     Nickel,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 10 |     Dime,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `existed_in` is never used
[INFO] [stdout]   --> enums/src/main.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl UsState {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 15 |     fn existed_in(&self, year: u16) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `describe_state_quarter` is never used
[INFO] [stdout]   --> enums/src/main.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn describe_state_quarter(coin: Coin) -> Option<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `describe_state_quarter_2` is never used
[INFO] [stdout]   --> enums/src/main.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn describe_state_quarter_2(coin: Coin) -> Option<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> variables/src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut mut_spaces = "   ";
[INFO] [stdout]    |         ----^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `spaces`
[INFO] [stdout]   --> variables/src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let spaces = spaces.len();
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spaces`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mut_spaces`
[INFO] [stdout]   --> variables/src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut mut_spaces = "   ";
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mut_spaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> variables/src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut mut_spaces = "   ";
[INFO] [stdout]    |         ----^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `spaces`
[INFO] [stdout]   --> variables/src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let spaces = spaces.len();
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spaces`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mut_spaces`
[INFO] [stdout]   --> variables/src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut mut_spaces = "   ";
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mut_spaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5ca1cf5fabec32ae3a9a9508603071ac290167ddeb14d25038eb60904cb3dfa6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ca1cf5fabec32ae3a9a9508603071ac290167ddeb14d25038eb60904cb3dfa6", kill_on_drop: false }`
[INFO] [stdout] 5ca1cf5fabec32ae3a9a9508603071ac290167ddeb14d25038eb60904cb3dfa6
